/**
 * @project_name staff_vehicle
 * @package_name com.ssh.ser.admin
 * @desc TODO
 * @param
 * @author jack
 * @date 2013-4-25
 * @time 下午6:22:49
 */
package com.ssh.ser.admin;

import java.sql.Timestamp;
import java.util.List;

import com.ssh.entity.InnerVehicle;
import com.ssh.model.pdata.InnerVehicleUseInfo;

/**
 * @author jack
 * @desc 内部车辆service 接口
 */
public interface VehicleManageSerI {
	public InnerVehicle addNewVehicle(InnerVehicle innerVehicle);
	public InnerVehicle editVehicle(InnerVehicle innerVehicle);
	public InnerVehicle viewVehicle(InnerVehicle innerVehicle);
	public InnerVehicle viewVehicle(String  innerVehicleId);
	public List<InnerVehicle> viewVehicleList(String  param);
	public List<InnerVehicle> viewVehicleByType(String  type);
	public List<InnerVehicle> viewVehicleByState(String  state);
	public List<InnerVehicle> viewAllVehicle();
	public List<InnerVehicle> viewVByStateType(String  state,String type);
	public int deleteVehicle(InnerVehicle innerVehicle);

    /**按输入时间查询出入车辆信息暂未实现*/
	public List<InnerVehicleUseInfo> viewVUseInfo(Timestamp startTime,Timestamp endTime);
	public List<InnerVehicleUseInfo> viewVUseInfo(String vehicleId);
	/**
	 * @return
	 */
	List<InnerVehicleUseInfo> viewAllVUseInfo();
	/**
	 * @param leavel
	 * @param state
	 * @return 按等级、状态查询车辆
	 */
	public List<InnerVehicle> viewVehicleByStateLeavel(String leavel, String state);
	/**
	 * @param time
	 * @return
	 */
	public List<InnerVehicleUseInfo> viewVUseInfo(Timestamp time);
}
